﻿using System.Threading;
using System.Threading.Tasks;

namespace ZFY.UnitOfWork
{
    /// <summary>
    /// 统一的数据访问上下文接口。不同的ORM框架其实现不同
    /// </summary>
    public interface IDbContextApi
    {
        Task SaveChangesAsync(CancellationToken cancellationToken);
    }
}
